package com.ruoyi.dj.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;
import java.util.Objects;

/**
 * @Author zw
 * @Date 2024/6/25
 **/
@Data
@ApiModel(value = "SpaceParamProduceParam", description = "多模型计算与预报-空间环境参数制备-入参")
public class SpaceParamProduceParam {

    @ApiModelProperty("模型")
    @NotNull(message = "模型不得为空")
    private List<String> models;

    @ApiModelProperty("开始日期时间, 例如 2005-01-01 03:00:00")
    @NotNull(message = "开始时间不得为空")
    private Date startTime;

    @ApiModelProperty("结束日期时间, 例如 2005-01-01 03:00:00")
    @NotNull(message = "结束日期不得为空")
    private Date endTime;


    @Override
    public String toString() {
        return "SpaceParamProduceParam{" +
                "models=" + models +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                '}';
    }

}
